package cn.superchart.module.role.service;

import cn.superchart.common.base.BaseService;
import cn.superchart.module.role.param.*;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.io.Serializable;
import java.util.List;

public interface ScRoleService extends BaseService {

    void add(ScRoleAddParam scRoleAddParam);


    void edit(ScRoleEditParam scRoleEditParam);

    ScRoleDetailParam detail(String id);

    void initInstall(String userId);

    Page<ScRoleDetailParam> page(ScRolePageParam scRolePageParam);

    boolean delete(String pk);

    List<String> menuIds(String id);

    void assignMenus(ScAssignMenuParam scAssignMenuParam);
}
